Namespace DotNetNuke.Modules.ActiveForums
    Public Enum AttachStores
        FILESYSTEM
        DATABASE
    End Enum
    Public Enum CurrentUserTypes
        Anon
        Auth
        ForumMod
        Admin
        SuperUser
    End Enum
    Public Enum EditorTypes
        TEXTBOX
        ACTIVEEDITOR
        HTMLEDITORPROVIDER
    End Enum
    Public Enum HTMLPermittedUsers
        AllUsers
        AuthenticatedUsers
        TrustedUsers
        Moderators
        Administrators
    End Enum
    Public Enum AvatarTypes
        LocalFile
        ExternalLink
        MultipleLocalFile
        MultipleExternalLink
    End Enum
    Public Enum SubscriptionTypes
        Disabled
        Instant
        DailyDigest
        WeeklyDigest
    End Enum
    Public Enum TopicTypes
        Topic
        Poll
    End Enum
    Public Enum EmailFormats
        HTML
        PlainText
    End Enum
    Public Enum ProfileTypes
        Disabled
        Basic
        Advanced
        Social
    End Enum
    Public Enum PMTypes
        Disabled
        AM
        Ventrian
        Social
    End Enum
    Public Enum SpecialTokenTypes
        AddThis 'http://www.addthis.com

    End Enum
    Public Enum TrustTypes
        NotTrusted
        Trusted
    End Enum
    Public Class Globals
        Public Shared ReadOnly Property DefaultAnonRoles() As String
            Get
                Return DotNetNuke.Common.glbRoleUnauthUser & ";" & DotNetNuke.Common.glbRoleAllUsers & ";"
            End Get
        End Property

        Public Const ModulePath As String = "~/DesktopModules/ActiveForums/"

        Public Const ControlRegisterTag As String = "<%@ Register TagPrefix=""am"" Namespace=""DotNetNuke.Modules.ActiveForums.Controls"" Assembly=""DotNetNuke.Modules.ActiveForums"" %>"
        Public Const ControlRegisterAFTag As String = "<%@ Register TagPrefix=""af"" Namespace=""DotNetNuke.Modules.ActiveForums.Controls"" Assembly=""DotNetNuke.Modules.ActiveForums"" %>"
        Public Const SocialRegisterTag As String = "<%@ Register TagPrefix=""social"" Namespace=""Active.Modules.Social.Controls"" Assembly=""Active.Modules.Social"" %>"

        Public Const GroupCount As Integer = 10000000
        Public Const ForumCount As Integer = 10000000
        Public Const SiteCount As Integer = -1

    End Class

    Public Class SettingKeys
        Public Const GeneralSettingsKey As String = "GEN"
        Public Const Mode As String = "MODE"
        Public Const PageSize As String = "PAGESIZE"
        Public Const AllowUserPhotos As String = "ALLOWUSERPHOTOS"
        Public Const AllowUserBio As String = "ALLOWUSERBIO"
        Public Const AllowSubscribe As String = "ALLOWSUBSCRIBE"
        Public Const UserNameDisplay As String = "USERNAMEDISPLAY"
        Public Const DisableUserProfiles As String = "DISABLEUSERPROFILES"
        Public Const ProfileType As String = "PROFILETYPE"
        Public Const ProfileTabId As String = "PROFILETABID"
        Public Const AllowAvatars As String = "ALLOWAVATARS"
        Public Const AllowAvatarLinks As String = "ALLOWAVATARLINKS"
        Public Const AvatarHeight As String = "AVATARHEIGHT"
        Public Const AvatarWidth As String = "AVATARWIDTH"
        Public Const AvatarDefault As String = "AVATARDEFAULT"
        Public Const AllowSignatures As String = "ALLOWSIGNATURES"
        Public Const StatsEnabled As String = "STATSENABLED"
        Public Const StatsTemplate As String = "STATSTEMPLATE"
        Public Const StatsCache As String = "STATSCACHE"
        Public Const DateFormatString As String = "DATEFORMATSTRING"
        Public Const TimeFormatString As String = "TIMEFORMATSTRING"
        Public Const TimeZoneOffset As String = "TIMEZONEOFFSET"
        Public Const UsersOnlineEnabled As String = "USERSONLINEENABLED"
        Public Const MemberListMode As String = "MEMBERLISTMODE"
        Public Const ForumTemplateId As String = "FORUMTEMPLATEID"
        Public Const DisableAccountTab As String = "DISABLEACCOUNTTAB"
        Public Const Theme As String = "THEME"
        Public Const MailQueue As String = "MAILQUEUE"
        Public Const FullText As String = "FULLTEXT"
        Public Const AllowSubTypes As String = "ALLOWSUBTYPES"
        Public Const TemplateCache As String = "TEMPLATECACHE"
        Public Const FloodInterval As String = "FLOODINTERVAL"
        Public Const EditInterval As String = "EDITINTERVAL"
        Public Const LoggingLevel As String = "LOGGINGLEVEL"
        Public Const DeleteBehavior As String = "DELETEBEHAVIOR"
        Public Const ProdKey As String = "AMFORUMS"
#If SKU = "ENTERPRISE" Then
        Public Const ProdSku As String = "AF43ENT"
#ElseIf SKU = "STANDARD" Then
        Public Const ProdSku  as String = "AF43STD"
#ElseIf SKU = "EXPRESS" Then
        Public Const ProdSku as String = "AF43EXP"
#ElseIf SKU = "LITE" Then
        Public Const ProdSku as String = "AF43LITE"
#End If
        Public Const EnablePoints As String = "ENABLEPOINTS"
        Public Const TopicPointValue As String = "TOPICPOINTVALUE"
        Public Const ReplyPointValue As String = "REPLYPOINTVALUE"
        Public Const AnswerPointValue As String = "ANSWERPOINTVALUE"
        Public Const ModPointValue As String = "MODPOINTVALUE"
        Public Const MarkAnswerPointValue As String = "MARKANSWERPOINTVALUE"
        Public Const PMType As String = "PMTYPE"
        Public Const PMTabId As String = "PMTABID"
        Public Const InstallDate As String = "INSTALLDATE"
        Public Const IsInstalled As String = "INSTALLED"
        Public Const ProfileVisibility As String = "PROFILEVISIBILITY"
        Public Const AddThisAccount As String = "ADDTHISACCOUNT"
        Public Const UseShortUrls As String = "SHORTURLS"
        Public Const RequireCaptcha As String = "REQCAPTCHA"
        Public Const UseSkinBreadCrumb As String = "USESKINBC"
        Public Const EnableAutoLink As String = "AUTOLINK"
        Public Const ActiveSocialTopicKey As String = "ASTAK"
        Public Const ActiveSocialRepliesKey As String = "ASRAK"
        Public Const EnableURLRewriter As String = "EURLR"
        Public Const PrefixURLBase As String = "URLBASE"
        Public Const PrefixURLTags As String = "URLTAGS"
        Public Const PrefixURLCategories As String = "URLCATS"
        Public Const PrefixURLOther As String = "URLOTHER"





        Public Const AdminResourceFile As String = "~/DesktopModules/ActiveForums/App_LocalResources/AdminResources.resx"
        Public Const SharedResourceFile As String = "~/DesktopModules/ActiveForums/App_LocalResources/SharedResources.resx"
        Public Const CacheDependencyFile As String = "~/DesktopModules/ActiveForums/cache/cachedep.resources"
        Public Const TemplatePath As String = "~/DesktopModules/ActiveForums/config/templates/"







    End Class
    Public Class ForumSettingKeys
        Public Const AllowHTML As String = "ALLOWHTML"
        Public Const AllowScript As String = "ALLOWSCRIPT"
        Public Const AllowSubscribe As String = "ALLOWSUBSCRIBE"
        Public Const AllowEmoticons As String = "ALLOWEMOTICONS"
        Public Const AllowPostIcon As String = "ALLOWPOSTICON"
        Public Const EditorType As String = "EDITORTYPE"
        Public Const EditorWidth As String = "EDITORWIDTH"
        Public Const EditorHeight As String = "EDITORHEIGHT"
        Public Const EditorToolbar As String = "EDITORTOOLBAR"
        Public Const EditorStyle As String = "EDITORSTYLE"
        Public Const EditorPermittedUsers As String = "EDITORPERMITTEDUSERS"
        Public Const AttachCount As String = "ATTACHCOUNT"
        Public Const AttachMaxSize As String = "ATTACHMAXSIZE"
        Public Const AttachTypeAllowed As String = "ATTACHTYPEALLOWED"
        Public Const AttachStore As String = "ATTACHSTORE"
        Public Const AttachMaxHeight As String = "ATTACHMAXHEIGHT"
        Public Const AttachMaxWidth As String = "ATTACHMAXWIDTH"
        Public Const AttachUniqueFileNames As String = "ATTACHUNIQUEFILENAMES"
        Public Const IndexContent As String = "INDEXCONTENT"
        Public Const AllowRSS As String = "ALLOWRSS"
        Public Const TopicsTemplateId As String = "TOPICSTEMPLATEID"
        Public Const TopicTemplateId As String = "TOPICTEMPLATEID"
        Public Const IsModerated As String = "ISMODERATED"
        Public Const AutoTrustLevel As String = "AUTOTRUSTLEVEL"
        Public Const DefaultTrustValue As String = "DEFAULTTRUSTLEVEL"
        Public Const ModApproveTemplateId As String = "MODAPPROVETEMPLATEID"
        Public Const ModRejectTemplateId As String = "MODREJECTTEMPLATEID"
        Public Const ModMoveTemplateId As String = "MODMOVETEMPLATEID"
        Public Const ModDeleteTemplateId As String = "MODDELETETEMPLATEID"
        Public Const ModNotifyTemplateId As String = "MODNOTIFYTEMPLATEID"
        Public Const EmailAddress As String = "EMAILADDRESS"
        Public Const UseFilter As String = "USEFILTER"
        Public Const AllowAttach As String = "ALLOWATTACH"
        Public Const TopicFormId As String = "TOPICFORMID"
        Public Const ReplyFormId As String = "REPLYFORMID"
        Public Const QuickReplyFormId As String = "QUICKREPLYFORMID"
        Public Const ProfileTemplateId As String = "PROFILETEMPLATEID"
        Public Const AutoSubscribeEnabled As String = "AUTOSUBSCRIBEENABLED"
        Public Const AutoSubscribeRoles As String = "AUTOSUBSCRIBEROLES"
        Public Const AutoSubscribeNewTopicsOnly As String = "AUTOSUBSCRIBENEWTOPICSONLY"
        Public Const AllowTags As String = "ALLOWTAGS"

        Public Const ActiveSocialEnabled As String = "AMASON"
        Public Const ActiveSocialTopicsOnly As String = "AMASTO"
        Public Const ActiveSocialSecurityOption As String = "AMASSEC"


        Public Const MCEnabled As String = "MCENABLED"
        Public Const MCUrl As String = "MCURL"
        Public Const MCAddress As String = "MCADDRESS"
        Public Const MCRestrictByAlias As String = "MCRESTRICTALIAS"
        Public Const MCPop3UserName As String = "MCPOPUSERNAME"
        Public Const MCPop3Password As String = "MCPOPPASSWORD"
        Public Const MCPop3Server As String = "MCPOPSERVER"
        Public Const MCAutoResponseTemplateId As String = "MCAUTORESPONSE"
        Public Const MCAdminNotifyTemplateId As String = "MCADMINNOTIFY"
        Public Const MCSubNotifyTemplateId As String = "MCSUBNOTIFY"
        Public Const MCRejectTemplateId As String = "MCREJECTNOTIFY"
        Public Const MCAutoCreateUsers As String = "MCAUTOCREATEUSERS"
        Public Const MCModType As String = "MCMODTYPE"
        Public Const MCEOMTag As String = "MCEOMTAG"
        Public Const MCEOMTagRequired As String = "MCEOMTAGREQ"
        Public Const MCRemoveHTML As String = "MCSTRIPHTML"

    End Class
    Public Class ParamKeys
        Public Const ForumId As String = "aff"
        Public Const GroupId As String = "afg"
        Public Const TopicId As String = "aft"
        Public Const ReplyId As String = "afr"
        Public Const ViewType As String = "afv"
        Public Const QuoteId As String = "afq"
        Public Const PageId As String = "afpg"
        Public Const PostId As String = "postid"
        Public Const Sort As String = "afs"
        Public Const PageJumpId As String = "afpg"
        Public Const ContentJumpId As String = "afc"
        Public Const ConfirmActionId As String = "afca"
        Public Const Tags As String = "aftg"
        Public Const FirstNewPost As String = "afnp"
    End Class
    Public Class Views
        Public Const Topics As String = "topicsview"
        Public Const Topic As String = "topic"
        Public Const ForumView As String = "forumview"
        Public Const TopicNew As String = "topicnew"
        Public Const TopicEdit As String = "topicedit"
    End Class
    Public Class CacheKeys
        Public Const Rewards As String = "afrwd{0}"
        Public Const PostInfo As String = "afpi{0}"
        Public Const ForumInfo As String = "affi{0}"
        Public Const ForumInfoWithUser As String = "affi{0}-{1}" ' KR
        Public Const AllSettings As String = "afset{0}" ' KR
        Public Const MainSettings As String = "afms{0}"
        Public Const GroupInfo As String = "afgi{0}"
        Public Const ProfileTemplate As String = "afpit{0}"
        Public Const ForumList As String = "affl{0}"
    End Class
    Public Enum ConfirmActions
        TopicSaved
        TopicDeleted
        ReplySaved
        ReplyDeleted
        MessagePending
        MessageMoved
        MessageDeleted
        SendToComplete
        SendToFailed
        AlertSent

    End Enum
    Public Class SortColumns
        Public Const ReplyCreated As String = "ReplyCreated"
        Public Const TopicCreated As String = "TopicCreated"
    End Class
End Namespace
